	<?php 
		$ci= &get_instance();
		$listUser = $ci->bet_entity->getListUserBetEvent($id);
		$resultBetStatus = betResultDataConfig();
		$iC = 0;
	?>
	
	<div class="clrboth"></div>
	<div class="grid3"><span class="bold" style="font-weight:bold;">Username</span></div>
	<div class="grid1"><span class="bold" style="font-weight:bold;">Coin</span></div>
	<div class="grid1"><span class="bold" style="font-weight:bold;">Odds</span></div>
	<div class="grid1"><span class="bold" style="font-weight:bold;">Returns</span></div>
	<div class="grid3"><span class="bold" style="font-weight:bold;">Bet time</span></div>
	<div class="grid1"><span class="bold" style="font-weight:bold;">Result</span></div>
	<div class="clrboth"></div>
	<?php foreach( $listUser as $item ): ?>
		<?php 
			$USER = $ci->user_entity->init('id',$item->user_id);
			$iC ++;
			$style= ($iC %2 == 0) ? " style='background:#fff;'":"";
		?>
	 
		<div class="grid3" <?php echo $style;?>>&nbsp;<?php echo $USER->getUserName(); ?></div>
		<div class="grid1" <?php echo $style;?>>&nbsp;<?php echo $item->stake;?></div>
		<div class="grid1" <?php echo $style;?>>&nbsp;<?php echo $item->odds;?></div>
		<div class="grid1" <?php echo $style;?>>&nbsp;<?php echo $item->point_get;?></div>
		<div class="grid3" <?php echo $style;?>>&nbsp;<?php echo sysDateTimeFormat($item->bet_time);?></div>
		<div class="grid1" <?php echo $style;?>>&nbsp;<?php echo $resultBetStatus[$item->result];?></div>
		 
		<div class="clrboth"></div>
		
	<?php endforeach; ?>
	

